# Notice that the variable LOGNAME comes from the environment in
# POSIX shells.
#
# target: all - Default target. Does nothing.
all:
	echo "Try 'make help'"

# target: help - Display callable targets.
help:
	egrep "^# target:" [Mm]akefile

# target: build - Build executable.
build:
	shards build

# target: install - Install into ~/.local.
install:
	shards build
	mkdir ~/.local/opt/crylaem -p
	cp bin/crylaem ~/.local/opt/crylaem/
	ln ~/.local/opt/crylaem/crylaem ~/.local/bin/crylaem